<?php //install Step 4 - Admin Authentication
define('DB_DNC', true);
require_once('../inc/inc.common.php');

$tmpl 		= new mvTemplate();

// unless we've come from somewhere else
if(isset($_POST['submit']) && isset($_POST['install_pluginhtml'])){
	$default_pluginhtml = $_POST['install_pluginhtml'];
	$default_pluginpdf 	= $_POST['install_pluginpdf'];
	$default_pluginrss 	= $_POST['install_pluginrss'];
	$default_prodlev 	= $_POST['install_prodlev'];

	mvSettings::set('pluginhtml', $default_pluginhtml);
	mvSettings::set('pluginpdf', $default_pluginpdf);
	mvSettings::set('pluginrss', $default_pluginrss);
	mvSettings::set('debug', $default_prodlev);
	mvSettings::save(POMBY_DIR . '/config/config.php');
}

$tmpl->page_install('install_step4.tpl');

?>